The CursorHelper object handles the construction and deconstruction of a wait cursor (for example, hourglass or other image). Upon creation of the object, the mouse pointer is transformed into a wait cursor. When the object is deleted (for example, goes out of scope at the end of a method), the cursor returns to normal. This functionality is useful for showing a user that processing is occurring during lengthy foreground tasks.
The CursorHelper object is created by using the CreateWaitCursor method of GlobalFunctions, though it can also be created using the following code:
|
CreateObject("CxScript.CursorHelper") |
This object has no properties or methods.
For an example of its use, see CreateWaitCursor.